package Practice.Practice_01;

public class demo03 {
    public static void main(String[] args){
        {
            byte a = 3;
            byte b = 2;
            byte c = (byte) (a+b);
            System.out.println("c=" + c);
        }
        {
            int a = 2;
            int b = 3;
            int c = a++;
            int d = b--;
            System.out.println("a=" + a + ", b=" + b + ", c=" + c + ", d=" + d);
        }
        {
            int a = 2;
            int b = 3;
            int c = ++a;
            int d = --b;
            System.out.println("a=" + a + ", b=" + b + ", c=" + c + ", d=" + d);
        }
    }
}
